Improving Test Coverage for UML State Machines Using Transition Instrumentation
نویسندگان
چکیده
We discuss the problem of generating test suites from UML state machines and present a method to extend the capabilities of existing automated test case generators. Current tools provide only a limited coverage for different testing objectives. We argue that a better coverage can be achieved by instrumenting transitions, and performing an appropriate preand postprocessing. We describe the necessary enhancements of the UML model and demonstrate our method on a simple example. We further report on an industrial case study where we successfully applied our method for generating a validation test suite for a safety-relevant communication protocol.
منابع مشابه
Automated Test Code Generation from UML Protocol State Machines
This paper presents a framework for automated generation of executable test code from UML 2.0 protocol state machines. It supports several coverage criteria for state models, including state coverage, transition coverage, and basic and extended round-trip coverage. It transforms the state invariants and transition postconditions of a state model into executable assertions to be verified against...
متن کاملUML Diagrams and Source based Automatic Test Suite Regeneration for Improving State Model Coverage
Automated test regeneration intends to ensure high coverage of system model from an existing test suite. While regenerating test suite, most of the existing techniques ignore coverage achieved by existing test suite. As a result, these techniques leave important model elements untested. Thus, an automatic test regeneration technique to achieve high state model coverage is proposed. In the propo...
متن کاملState-based Coverage Analysis and UML-driven Equivalence Checking for C++ State Machines
This paper presents a methodology using an instrumentation-based behavioral checker to detect behavioral deviations of a C++ object implementing a finite state machine (FSM) and the corresponding specification defined as a UML state chart. The approach is able to link the source code with the appropriate states and provides a coverage analysis to show which states have been covered by unit, sys...
متن کاملAutomatic Test case Generation From UML State Chart Diagram
More than 50% of software development effort is spent in testing phase in a typical software development project. Test case design as well as execution consumes a lot of time. So automated generation of test cases is highly required. We present a testing methodology to test object oriented software based on UML state chart diagrams. In our approach we apply function minimization technique and g...
متن کاملParTeG - Integrating Model-based Testing and Model Transformations
In this paper, we present model-based testing for UML state machines with the test generator ParTeG. We sketch the impact of model transformations on modelbased testing and also sketch the results of a corresponding case study with ParTeG. 1 Model-Based Testing ParTeG [Wei] is a model-based testing tool that was initially developed to implement new algorithms into a prototype as a proof of conc...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007